package com.spring.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;



import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="student")
public class Student {
	
	@Id
    
    @GenericGenerator(name = "system-uuid", strategy = "uuid")   
    @Column(length=32) 
	private String id;
	@Column(length=32) 
   private String name;
	@Column(length=32)
	private String sex;
	@Column(length=32)
	private String age;
	@Column(length=32)
	private String time;
  public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}


public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
public String getId() {
	return id;
}
public void setId(String id) {
	this.id = id;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}


}
